﻿<!DOCTYPE html>
<!--[if IE]><![endif]-->
<html>
  
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Class GradientTheme
   </title>
    <meta name="viewport" content="width=device-width">
    <meta name="title" content="Class GradientTheme
   ">
    <meta name="generator" content="docfx 2.40.12.0">
    
    <link rel="shortcut icon" href="../images/favicon.ico">
    <link rel="stylesheet" href="../styles/docfx.vendor.css">
    <link rel="stylesheet" href="../styles/docfx.css">
    <link rel="stylesheet" href="../styles/main.css">
    <meta property="docfx:navrel" content="../toc.html">
    <meta property="docfx:tocrel" content="toc.html">
    
    <meta property="docfx:rel" content="../">
    
  </head>
  <body data-spy="scroll" data-target="#affix" data-offset="120">
    <div id="wrapper">
      <header>
        
        <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
          <div class="container">
            <div class="navbar-header">
              <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
              </button>
              
              <a class="navbar-brand" href="../index.html">
                <img id="logo" class="svg" src="../images/logo.svg" alt="">
              </a>
            </div>
            <div class="collapse navbar-collapse" id="navbar">
              <form class="navbar-form navbar-right" role="search" id="search">
                <div class="form-group">
                  <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
                </div>
              </form>
            </div>
          </div>
        </nav>
        
        <div class="subnav navbar navbar-default">
          <div class="container hide-when-search" id="breadcrumb">
            <ul class="breadcrumb">
              <li></li>
            </ul>
          </div>
        </div>
      </header>
      <div class="container body-content">
        
        <div id="search-results">
          <div class="search-list"></div>
          <div class="sr-items">
            <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
          </div>
          <ul id="pagination"></ul>
        </div>
      </div>
      <div role="main" class="container body-content hide-when-search">
        
        <div class="sidenav hide-when-search">
          <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
          <div class="sidetoggle collapse" id="sidetoggle">
            <div id="sidetoc"></div>
          </div>
        </div>
        <div class="article row grid-right">
          <div class="col-md-10">
            <article class="content wrap" id="_content" data-uid="Mapsui.Styles.Thematics.GradientTheme">
  
  
  <h1 id="Mapsui_Styles_Thematics_GradientTheme" data-uid="Mapsui.Styles.Thematics.GradientTheme" class="text-break">Class GradientTheme
  </h1>
  <div class="markdown level0 summary"><p>The GradientTheme class defines a gradient color thematic rendering of features based by a numeric attribute.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><span class="xref">System.Object</span></div>
    <div class="level1"><a class="xref" href="Mapsui.Styles.Style.html">Style</a></div>
    <div class="level2"><span class="xref">GradientTheme</span></div>
  </div>
  <div classs="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="Mapsui.Styles.Thematics.IThemeStyle.html">IThemeStyle</a></div>
    <div><a class="xref" href="Mapsui.Styles.IStyle.html">IStyle</a></div>
  </div>
  <div class="inheritedMembers">
    <h5>Inherited Members</h5>
    <div>
      <a class="xref" href="Mapsui.Styles.Style.html#Mapsui_Styles_Style_MinVisible">Style.MinVisible</a>
    </div>
    <div>
      <a class="xref" href="Mapsui.Styles.Style.html#Mapsui_Styles_Style_MaxVisible">Style.MaxVisible</a>
    </div>
    <div>
      <a class="xref" href="Mapsui.Styles.Style.html#Mapsui_Styles_Style_Enabled">Style.Enabled</a>
    </div>
    <div>
      <a class="xref" href="Mapsui.Styles.Style.html#Mapsui_Styles_Style_Opacity">Style.Opacity</a>
    </div>
    <div>
      <a class="xref" href="Mapsui.Styles.Style.html#Mapsui_Styles_Style_Equals_System_Object_">Style.Equals(Object)</a>
    </div>
    <div>
      <a class="xref" href="Mapsui.Styles.Style.html#Mapsui_Styles_Style_Equals_Mapsui_Styles_Style_">Style.Equals(Style)</a>
    </div>
    <div>
      <a class="xref" href="Mapsui.Styles.Style.html#Mapsui_Styles_Style_GetHashCode">Style.GetHashCode()</a>
    </div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="Mapsui.Styles.Thematics.html">Mapsui.Styles.Thematics</a></h6>
  <h6><strong>Assembly</strong>: Mapsui.dll</h6>
  <h5 id="Mapsui_Styles_Thematics_GradientTheme_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class GradientTheme : Style, IThemeStyle, IStyle</code></pre>
  </div>
  <h3 id="constructors">Constructors
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_GradientTheme__ctor_System_String_System_Double_System_Double_Mapsui_Styles_IStyle_Mapsui_Styles_IStyle_.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.GradientTheme.%23ctor(System.String%2CSystem.Double%2CSystem.Double%2CMapsui.Styles.IStyle%2CMapsui.Styles.IStyle)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/GradientTheme.cs/#L110">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_GradientTheme__ctor_" data-uid="Mapsui.Styles.Thematics.GradientTheme.#ctor*"></a>
  <h4 id="Mapsui_Styles_Thematics_GradientTheme__ctor_System_String_System_Double_System_Double_Mapsui_Styles_IStyle_Mapsui_Styles_IStyle_" data-uid="Mapsui.Styles.Thematics.GradientTheme.#ctor(System.String,System.Double,System.Double,Mapsui.Styles.IStyle,Mapsui.Styles.IStyle)">GradientTheme(String, Double, Double, IStyle, IStyle)</h4>
  <div class="markdown level1 summary"><p>Initializes a new instance of the GradientTheme class</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public GradientTheme(string columnName, double minValue, double maxValue, IStyle minStyle, IStyle maxStyle)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td><span class="parametername">columnName</span></td>
        <td><p>Name of column to extract the attribute</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">minValue</span></td>
        <td><p>Minimum value</p>
</td>
      </tr>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td><span class="parametername">maxValue</span></td>
        <td><p>Maximum value</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.IStyle.html">IStyle</a></td>
        <td><span class="parametername">minStyle</span></td>
        <td><p>Color for minimum value</p>
</td>
      </tr>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.IStyle.html">IStyle</a></td>
        <td><span class="parametername">maxStyle</span></td>
        <td><p>Color for maximum value</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 id="Mapsui_Styles_Thematics_GradientTheme__ctor_System_String_System_Double_System_Double_Mapsui_Styles_IStyle_Mapsui_Styles_IStyle__remarks">Remarks</h5>
  <div class="markdown level1 remarks"><p><p>The gradient theme interpolates linearly between two styles based on a numerical attribute in the datasource.
This is useful for scaling symbols, line widths, line and fill colors from numerical attributes.</p>
<p>Colors are interpolated between two colors, but if you want to interpolate through more colors (fx. a rainbow),
set the <a class="xref" href="Mapsui.Styles.Thematics.GradientTheme.html#Mapsui_Styles_Thematics_GradientTheme_TextColorBlend">TextColorBlend</a>, <a class="xref" href="Mapsui.Styles.Thematics.GradientTheme.html#Mapsui_Styles_Thematics_GradientTheme_LineColorBlend">LineColorBlend</a> and <a class="xref" href="Mapsui.Styles.Thematics.GradientTheme.html#Mapsui_Styles_Thematics_GradientTheme_FillColorBlend">FillColorBlend</a> properties
to a custom <a class="xref" href="Mapsui.Styles.Thematics.ColorBlend.html">ColorBlend</a>.
</p>
<p>The following properties are scaled (properties not mentioned here are not interpolated):
<table><thead><tr><th>Property</th><th>Remarks</th></tr></thead><tbody><tr><td><a class="xref" href="Mapsui.Styles.Color.html">Color</a></td><td>Red, Green, Blue and Alpha values are linearly interpolated.</td></tr><tr><td><a class="xref" href="Mapsui.Styles.Pen.html">Pen</a></td><td>The color, width, color of pens are interpolated. MiterLimit,StartCap,EndCap,LineJoin,DashStyle,DashPattern,DashOffset,DashCap,CompoundArray, and Alignment are switched in the middle of the min/max values.</td></tr><tr><td><a class="xref" href="Mapsui.Styles.Brush.html">Brush</a></td><td>Brush color are interpolated. Other brushes are not supported.</td></tr><tr><td><a class="xref" href="Mapsui.Styles.VectorStyle.html">VectorStyle</a></td><td>MaxVisible, MinVisible, Line, Outline, Fill and SymbolScale are scaled linearly. Symbol, EnableOutline and Enabled switch in the middle of the min/max values.</td></tr><tr><td><a class="xref" href="Mapsui.Styles.LabelStyle.html">LabelStyle</a></td><td>FontSize, BackColor, ForeColor, MaxVisible, MinVisible, Offset are scaled linearly. All other properties use min-style.</td></tr></tbody></table>
</p>
<example>
Creating a rainbow colorblend showing colors from red, through yellow, green and blue depicting 
the population density of a country.<p>
<pre><code>//Create two vector styles to interpolate between
Mapsui.Styles.VectorStyle min = new Mapsui.Styles.VectorStyle();
Mapsui.Styles.VectorStyle max = new Mapsui.Styles.VectorStyle();
min.Outline.Width = 1f; //Outline width of the minimum value
max.Outline.Width = 3f; //Outline width of the maximum value
//Create a theme interpolating population density between 0 and 400
Mapsui.Rendering.Thematics.GradientTheme popdens = new Mapsui.Rendering.Thematics.GradientTheme(&quot;PopDens&quot;, 0, 400, min, max);
//Set the fill-style colors to be a rainbow blend from red to blue.
popdens.FillColorBlend = Mapsui.Rendering.Thematics.ColorBlend.Rainbow5;
myVectorLayer.Styles.Add(popdens);</code></pre>
<p></example></p>
</div>
  <h3 id="properties">Properties
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_GradientTheme_ColumnName.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.GradientTheme.ColumnName%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/GradientTheme.cs/#L31">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_GradientTheme_ColumnName_" data-uid="Mapsui.Styles.Thematics.GradientTheme.ColumnName*"></a>
  <h4 id="Mapsui_Styles_Thematics_GradientTheme_ColumnName" data-uid="Mapsui.Styles.Thematics.GradientTheme.ColumnName">ColumnName</h4>
  <div class="markdown level1 summary"><p>Gets or sets the column name from where to get the attribute value</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string ColumnName { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.String</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_GradientTheme_FillColorBlend.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.GradientTheme.FillColorBlend%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/GradientTheme.cs/#L66">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_GradientTheme_FillColorBlend_" data-uid="Mapsui.Styles.Thematics.GradientTheme.FillColorBlend*"></a>
  <h4 id="Mapsui_Styles_Thematics_GradientTheme_FillColorBlend" data-uid="Mapsui.Styles.Thematics.GradientTheme.FillColorBlend">FillColorBlend</h4>
  <div class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="Mapsui.Styles.Thematics.ColorBlend.html">ColorBlend</a> used as Fill</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ColorBlend FillColorBlend { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Thematics.ColorBlend.html">ColorBlend</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_GradientTheme_LineColorBlend.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.GradientTheme.LineColorBlend%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/GradientTheme.cs/#L61">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_GradientTheme_LineColorBlend_" data-uid="Mapsui.Styles.Thematics.GradientTheme.LineColorBlend*"></a>
  <h4 id="Mapsui_Styles_Thematics_GradientTheme_LineColorBlend" data-uid="Mapsui.Styles.Thematics.GradientTheme.LineColorBlend">LineColorBlend</h4>
  <div class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="Mapsui.Styles.Thematics.ColorBlend.html">ColorBlend</a> used on lines</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ColorBlend LineColorBlend { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Thematics.ColorBlend.html">ColorBlend</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_GradientTheme_Max.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.GradientTheme.Max%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/GradientTheme.cs/#L41">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_GradientTheme_Max_" data-uid="Mapsui.Styles.Thematics.GradientTheme.Max*"></a>
  <h4 id="Mapsui_Styles_Thematics_GradientTheme_Max" data-uid="Mapsui.Styles.Thematics.GradientTheme.Max">Max</h4>
  <div class="markdown level1 summary"><p>Gets or sets the maximum value of the gradient</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public double Max { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_GradientTheme_MaxStyle.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.GradientTheme.MaxStyle%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/GradientTheme.cs/#L51">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_GradientTheme_MaxStyle_" data-uid="Mapsui.Styles.Thematics.GradientTheme.MaxStyle*"></a>
  <h4 id="Mapsui_Styles_Thematics_GradientTheme_MaxStyle" data-uid="Mapsui.Styles.Thematics.GradientTheme.MaxStyle">MaxStyle</h4>
  <div class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="Mapsui.Styles.IStyle.html">IStyle</a> for the maximum value</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public IStyle MaxStyle { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.IStyle.html">IStyle</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_GradientTheme_Min.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.GradientTheme.Min%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/GradientTheme.cs/#L36">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_GradientTheme_Min_" data-uid="Mapsui.Styles.Thematics.GradientTheme.Min*"></a>
  <h4 id="Mapsui_Styles_Thematics_GradientTheme_Min" data-uid="Mapsui.Styles.Thematics.GradientTheme.Min">Min</h4>
  <div class="markdown level1 summary"><p>Gets or sets the minimum value of the gradient</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public double Min { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">System.Double</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_GradientTheme_MinStyle.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.GradientTheme.MinStyle%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/GradientTheme.cs/#L46">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_GradientTheme_MinStyle_" data-uid="Mapsui.Styles.Thematics.GradientTheme.MinStyle*"></a>
  <h4 id="Mapsui_Styles_Thematics_GradientTheme_MinStyle" data-uid="Mapsui.Styles.Thematics.GradientTheme.MinStyle">MinStyle</h4>
  <div class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="Mapsui.Styles.IStyle.html">IStyle</a> for the minimum value</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public IStyle MinStyle { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.IStyle.html">IStyle</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_GradientTheme_TextColorBlend.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.GradientTheme.TextColorBlend%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/GradientTheme.cs/#L56">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_GradientTheme_TextColorBlend_" data-uid="Mapsui.Styles.Thematics.GradientTheme.TextColorBlend*"></a>
  <h4 id="Mapsui_Styles_Thematics_GradientTheme_TextColorBlend" data-uid="Mapsui.Styles.Thematics.GradientTheme.TextColorBlend">TextColorBlend</h4>
  <div class="markdown level1 summary"><p>Gets or sets the <a class="xref" href="Mapsui.Styles.Thematics.ColorBlend.html">ColorBlend</a> used on labels</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ColorBlend TextColorBlend { get; set; }</code></pre>
  </div>
  <h5 class="propertyValue">Property Value</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.Thematics.ColorBlend.html">ColorBlend</a></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
  </h3>
  <span class="small pull-right mobile-hide">
    <span class="divider">|</span>
    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_GradientTheme_GetStyle_Mapsui_Providers_IFeature_.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.GradientTheme.GetStyle(Mapsui.Providers.IFeature)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a>
  </span>
  <span class="small pull-right mobile-hide">
    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/GradientTheme.cs/#L126">View Source</a>
  </span>
  <a id="Mapsui_Styles_Thematics_GradientTheme_GetStyle_" data-uid="Mapsui.Styles.Thematics.GradientTheme.GetStyle*"></a>
  <h4 id="Mapsui_Styles_Thematics_GradientTheme_GetStyle_Mapsui_Providers_IFeature_" data-uid="Mapsui.Styles.Thematics.GradientTheme.GetStyle(Mapsui.Providers.IFeature)">GetStyle(IFeature)</h4>
  <div class="markdown level1 summary"><p>Returns the style based on a numeric DataColumn, where style
properties are linearly interpolated between max and min values.</p>
</div>
  <div class="markdown level1 conceptual"></div>
  <h5 class="decalaration">Declaration</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public IStyle GetStyle(IFeature row)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Providers.IFeature.html">IFeature</a></td>
        <td><span class="parametername">row</span></td>
        <td><p>Feature</p>
</td>
      </tr>
    </tbody>
  </table>
  <h5 class="returns">Returns</h5>
  <table class="table table-bordered table-striped table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><a class="xref" href="Mapsui.Styles.IStyle.html">IStyle</a></td>
        <td><p><a class="xref" href="Mapsui.Styles.IStyle.html">IStyle</a> calculated by a linear interpolation between the min/max styles</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="implements">Implements</h3>
  <div>
      <a class="xref" href="Mapsui.Styles.Thematics.IThemeStyle.html">IThemeStyle</a>
  </div>
  <div>
      <a class="xref" href="Mapsui.Styles.IStyle.html">IStyle</a>
  </div>
</article>
          </div>
          
          <div class="hidden-sm col-md-2" role="complementary">
            <div class="sideaffix">
              <div class="contribution">
                <ul class="nav">
                  <li>
                    <a href="https://github.com/Mapsui/Mapsui/new/master/apiSpec/new?filename=Mapsui_Styles_Thematics_GradientTheme.md&amp;value=---%0Auid%3A%20Mapsui.Styles.Thematics.GradientTheme%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a>
                  </li>
                  <li>
                    <a href="https://github.com/Mapsui/Mapsui/blob/master/Mapsui/Styles/Thematics/GradientTheme.cs/#L26" class="contribution-link">View Source</a>
                  </li>
                </ul>
              </div>
              <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
              <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
              </nav>
            </div>
          </div>
        </div>
      </div>
      
      <footer>
        <div class="grad-bottom"></div>
        <div class="footer">
          <div class="container">
            <span class="pull-right">
              <a href="#top">Back to top</a>
            </span>
            
            <span>Generated by <strong>DocFX</strong></span>
          </div>
        </div>
      </footer>
    </div>
    
    <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
    <script type="text/javascript" src="../styles/docfx.js"></script>
    <script type="text/javascript" src="../styles/main.js"></script>
  </body>
</html>
